package kr.hkit.powerjava.chapter06;

public class example11 {
	public static void main(String[] args) {
	
//		slovFirst();
		slovSecond();
	}

	private static void slovSecond() {
		int  n = 10;
		do {
			System.out.println(n);
			n = n-3;
		} while (n > 0);	
	}

	private static void slovFirst() {
		int n = 10;
		while (n > 0) {
			System.out.println(n);
			n = n-3;
		}
	}
}




